package ArrayStudy;

public class StringTest {
    public static void main(String[] args) {
        String x = "abc";
        String y = "Abc";
        System.out.println("x==y = " + (x == y));//地址值
        System.out.println("x.equals(\"xyz\") = " + x.equals("xyz"));
        System.out.println("y.charAt(                                                                                    ) = " + y.charAt(0));
    }
}
